PGMB\Subscriber\AutoPostSubscriber A

Total Complexity 54
Dependencies 4
Dependents 1
Total lines 237
Lines of code 119
Logical lines of code 60
Comment lines 75
Methods 14
Properties 11

Methods 14

Method Rating Maintainability Complexity Lines of code
should_create_autopost()
A
57 15 13
handle_autopost_on_post_save()
A
62 10 9
determine_request_type()
S
60 7 13
hook_rest_pre_insert()
S
57 3 19
after_rest_request()
S
67 4 8
publish_scheduled_autopost()
S
69 4 6
dispatch_autopost()
S
61 3 12
catch_rest_request()
S
71 2 5
register_meta()
S
63 1 11
__construct()
S
70 1 6
get_subscribed_hooks()
S
68 1 7
init()
S
78 1 4
has_autopost_term()
S
82 1 3
set_event_manager()
S
81 1 3